package com.wanghang.springcloud.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@ConfigurationPropertiesScan // 开启配置属性绑定
@EnableDiscoveryClient
@SpringBootApplication
public class WanghangGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(WanghangGatewayApplication.class, args);
    }
}
